package com.hzit.service.impl;

import com.hzit.pojo.Student;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.hzit.mapper.StudentMapper;
import com.hzit.service.StudentService;

import java.util.List;

@Service
public class StudentServiceImpl implements StudentService{

    @Resource
    private StudentMapper studentMapper;

    @Override
    public List<Student> findAll() {
        return studentMapper.selectAll();
    }
}
